package leetcode.prefixSum;

import leetcode.prefixSum.common.PrefixSumUtils;

import java.util.Arrays;

class Solution238 {
    public int[] productExceptSelf(int[] nums) {
        return PrefixSumUtils.productExceptSelf(nums);
    }
}

public class leetcode238 {
    public static void main(String[] args) {
        Solution238 solution238 = new Solution238();
        int[] nums = {1, 2, 3, 4};
        System.out.println(Arrays.toString(solution238.productExceptSelf(nums)));

    }
}
